let name = "张三是个";


let arr = name.split("");
for (let index = arr.length - 1; 0 < index; index--) {
    if (index % 2 === 0) {
        arr.splice(index, 0, '<br>');
    }
}
let brName = arr.join("");
console.log(brName)
